package com.robot.dao;

import com.robot.model.Project;
import com.robot.model.ProjectMember;
import com.robot.model.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * Created with IntelliJ IDEA.
 * User: li
 * Date: 2019/6/16
 * Time: 16:51
 * PROJECT：robot
 * PACKAGE: com.robot
 *
 * @author:55324936@qq.com To change this template use File | Settings | File Templates.
 */
@Mapper
public interface ProjectMapper {

    public int addProject(Project project);

    public int updateProject(Project project);

    public int addProjectMember(ProjectMember projectMember);

    public List<Project> getProjectList(Map map);

    public int removeUserFromProject(ProjectMember projectMember);

    public List<User> getProjectMemberList(ProjectMember projectMember);

}
